import { View, Text } from '@tarojs/components'
import { useLoad } from '@tarojs/taro'
import CustomTabBar  from "@/component/CustomTabBar";
import './index.scss'

definePageConfig(
  {
    navigationBarTitleText:'首页'
  }
)
export default function Index () {
  useLoad(() => {
    console.log('Page loaded.')
  })

  return (
    <View className='index'>
      <Text>首页</Text>
      <CustomTabBar></CustomTabBar>
    </View>
  )
}
